package com.zhouhailin.reflection;

/**
 * @Author zhouhailin
 * @date 2023/2/3 10:26
 */
public class Cat {

    private String name = "猫";

    public Integer age = 10;

    public Cat() {
    }

    public Cat(String name, Integer age) {
        this.name = name;
        this.age = age;
    }

    public void hi() {
        System.out.println("hi: " + name);
    }

    public void cry() {
        System.out.println("cry：" + name);
    }
}
